package com.wingsfrog.travel.controller.dto.response;

import com.wingsfrog.travel.modules.entity.Hint;
import com.wingsfrog.travel.modules.entity.TeamHint;

/**
 * Created by rankin on 16/4/2.
 */
public class TaskHintResDto {
    Integer id;
    private Integer taskId;
    private String hintName;
    private String hintContent;
    private Integer hintType;
    private Integer hintLevel;

    public TaskHintResDto() {
    }

    public TaskHintResDto(Hint h) {
        this.id = h.getId();
        this.taskId = h.getTaskId();
        this.hintName = h.getHintName();
        this.hintContent = h.getHintContent();
        this.hintLevel = h.getHintLevel();
        this.hintType = h.getHintType();
    }

    public TaskHintResDto(TeamHint h) {
        this.id = h.getHintId();
        this.taskId = h.getTaskId();
        this.hintName = h.getHintName();
        this.hintContent = h.getHintContent();
        this.hintLevel = h.getHintLevel();
        this.hintType = h.getHintType();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTaskId() {
        return taskId;
    }

    public void setTaskId(Integer taskId) {
        this.taskId = taskId;
    }

    public String getHintName() {
        return hintName;
    }

    public void setHintName(String hintName) {
        this.hintName = hintName;
    }

    public String getHintContent() {
        return hintContent;
    }

    public void setHintContent(String hintContent) {
        this.hintContent = hintContent;
    }

    public Integer getHintType() {
        return hintType;
    }

    public void setHintType(Integer hintType) {
        this.hintType = hintType;
    }

    public Integer getHintLevel() {
        return hintLevel;
    }

    public void setHintLevel(Integer hintLevel) {
        this.hintLevel = hintLevel;
    }
}
